Simplify 'dma heap' logic.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 28 Jul 2008 15:40:30 +0000 (16:40 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 28 Jul 2008 15:40:30 +0000 (16:40 +0100)
commitaccacb43cb7f16e9d1d8c0e58ea72c9d0c32cec2
tree9e21d55e5445902259ffe7159aed8f6ba9dc8422
parentf5219467e716306e268d8939b53f3b7afe3106b0
Simplify 'dma heap' logic.

1. Only useful for NUMA systems, so turn it off on non-NUMA systems by
   default.
2. On NUMA systems, by default relate the DMA heap size to NUMA node 0
   memory size (so that not all of node 0's memory ends up being 'DMA
   heap').
3. Remove the 'dma emergency pool'. It's less useful now that running
   out of low memory isn;t as fatal as it used to be (e.g., when we
   needed to be able to allocate low-memory PAE page directories).

Based on patches by Andre Przywara and Xiaowei Yang.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
docs/src/user.tex
xen/common/page_alloc.c